from django.contrib import admin
# Local Package
from pubblr.apps.reviews.models import Review, Star


class ReviewAdmin(admin.ModelAdmin):
    """
    some docstring for ReviewAdmin
    """
    list_display = ('product', 'reviewer', 'add_datetime')
    
    
class StarAdmin(admin.ModelAdmin):
    """
    some docstring for StarAdmin
    """
    list_display = ('product', 'reviewer', 'level', 'add_datetime')
    
    
admin.site.register(Review, ReviewAdmin)
admin.site.register(Star, StarAdmin)

# todo:
# on Review Admin page when we want to input a star
# we would not have to manually create a new star instance
# make something like dropdown menu or stars to click on